package net.hn.hnms.biz.power.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.hn.hnms.biz.power.domain.GdjkSensormonitorHisPo;
import net.hn.hnms.biz.power.domain.dto.ChartDto;
import net.hn.hnms.biz.power.domain.dto.PointDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 供电测点历史监测(DwdGdjkHisSensormonitor)Mapper
 */
public interface GdjkSensormonitorHisMapper extends BaseMapper<GdjkSensormonitorHisPo> {
    /**
     * 三天内得数据
     * @param pointDto
     * @return
     */
    List<ChartDto> selectOneDayList(@Param("pointDto") PointDto pointDto);

    /**
     * 1月内得数据
     * @param pointDto
     * @return
     */
    List<ChartDto> selectOneMonthList(@Param("pointDto") PointDto pointDto);
}
